package com.dj.mingkong.admin.biz.repository.database.music.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dj.mingkong.admin.biz.scheduler.vo.gen.AlbumDetailVo;
import com.dj.mingkong.admin.biz.scheduler.vo.gen.ListAlbumVo;
import com.dj.mingkong.common.infrastructure.eo.database.music.AlbumEo;

import java.util.List;

/**
 * 专辑mapper
 *
 * @author zenglonghui
 * @date: 2022/5/17 19:07
 */
public interface AlbumMapper extends BaseMapper<AlbumEo> {
    /**
     * 获取专辑列表
     *
     * @param albumVoPage {}
     * @return ListAlbumVo
     */
    Page<ListAlbumVo> selectAlbumPage(Page<ListAlbumVo> albumVoPage);

    /**
     * 获取所有专辑数据
     *
     * @return AlbumVo
     */
    List<AlbumDetailVo> selectAll();
}
